VERSION=1.00
FILES=corset.cc Cluster.cc Transcript.cc MakeClusters.cc Read.cc MakeClusters.h Transcript.h Read.h StringSet.h Cluster.h 
OBJ=corset.o Cluster.o MakeClusters.o Transcript.o Read.o

corset: $(OBJ) Makefile
	@CXX@ @CXXFLAGS@ $(OBJ) -o $@ @LDFLAGS@ @LIBS@

%.o: %.cc
	@CXX@ @CXXFLAGS@ -c $< -o $@ -DVERSION=$(VERSION)

clean:                                                     
	-rm *~ *.o

install: corset
	cp corset @prefix@/bin

tar_ball:
	-mkdir corset-$(VERSION)
	cp $(FILES) corset-$(VERSION)
	cp Makefile.in README configure COPYING LICENSE corset-$(VERSION)
	tar -cvf corset-$(VERSION).tar corset-$(VERSION)/
	gzip corset-$(VERSION).tar

